/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.ua.node;

import java.util.List;
import org.xml.sax.Attributes;
import org.xml.sax.helpers.AttributesImpl;

/**
 *
 * @author ananthaamornphong
 */
public class ParameterNode extends UMLNode{

    public String name = "";
    public String type = "";
    public String visibility = "public";
    public String kind = "";

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }
    
    
    
    public void setName(String name){
        this.name = name;
    }
    
    public void setType(String type){
        this.type = type;
    }
    
    public String getType(){
        return this.type;
    }
    
    @Override
    public String getName() {
        return name;
    }

    @Override
    public List getChildren() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public int getChildCount() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Attributes getAttributes() {
        AttributesImpl attributes = new AttributesImpl();
        attributes.addAttribute("", "xmi.id", "", "", Long.toString(this.hashCode()));
        attributes.addAttribute("", "name", "", "", this.name);
      
        attributes.addAttribute("", "isSpecification", "","", "false");
        attributes.addAttribute("", "kind", "","", this.kind);
        


        
         
        return attributes;
    }
    
}
